domctl: do away with tool stack based retrying
authorJan Beulich <jbeulich@suse.com>
Wed, 18 Feb 2015 15:57:02 +0000 (16:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Feb 2015 15:57:02 +0000 (16:57 +0100)
commit15e0aac6fe76be6a710a8e6d3da610d437903266
tree0b5564645466f4278a417df5eac6d1edce118525
parent4aaca0e9cd09ea86df2d86a0ccbfbcdfb2c37453
domctl: do away with tool stack based retrying

XEN_DOMCTL_destroydomain so far is being special cased in libxc to
reinvoke the operation when getting back EAGAIN. Quite a few other
domctl-s have gained continuations, so I see no reason not to use them
here too.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain.c
xen/common/domain.c
xen/common/domctl.c